//
//  HQMessageViewController.m
//  wbOC
//
//  Created by sheji on 16/3/1.
//  Copyright (c) 2016年 sheji. All rights reserved.
//

#import "HQMessageViewController.h"
#import "HQTempViewController.h"

@interface HQMessageViewController ()

@end

@implementation HQMessageViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setupUI];

}

#pragma mark - 监听方法
/**
 *  发现群
 */
-(void)discoverGroup
{
//    NSLog(@"%s",__FUNCTION__);
    HQTempViewController *vc = [[HQTempViewController alloc]init];
    [self.navigationController pushViewController:vc animated:YES];
}

#pragma mark - 设置界面
-(void)setupUI
{
    //设置导航栏按钮
    self.navigationItem.leftBarButtonItem = [UIBarButtonItem barButtonWithTitle:@"发现群" imageName:nil target:self action:@selector(discoverGroup)];
}
@end
